package top.mengchaob.gitManage.api;

import org.eclipse.jgit.api.errors.GitAPIException;
import top.mengchaob.exception.RelationBranchException;
import top.mengchaob.exception.RemoteBranchNotExistException;

import java.util.List;

public interface GitManageServiceI {
    void packageBranch(String branchName) throws RelationBranchException, RemoteBranchNotExistException;
    void checkOutBranch(String branchName) throws RelationBranchException, RemoteBranchNotExistException;
    void  pullBranch(String branchName);
    String getCurrentBranch();
    void cleanBranch(String branchName);
    List getGitFileByBranch(String branchName);
    void gitClone() throws GitAPIException;
}
